import request from '@/utils/request'

export function empioyeeAPI(params) {
  return request({
    url: '/sys/user',
    method: 'GET',
    params
  })
}
// 新增
export function addempioyeeAPI(data) {
  return request({
    url: '/sys/user',
    method: 'POST',
    data
  })
}
// 获取员工基本信息
export function importExcelAPI(data) {
  return request({
    url: '/sys/user/batch',
    method: 'post',
    data
  })
}

export function getimportExcelAPI(data) {
  return request({
    url: '/sys/user/assignRoles',
    method: 'put',
    data
  })
}

